ElasticPress\Feature\WooCommerce\Products D

Total Complexity 138
Dependencies 4
Dependents 1
Total lines 997
Lines of code 558
Logical lines of code 296
Comment lines 319
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
maybe_set_orderby()
B
40 20 62
price_filter()
A
46 15 36
translate_args_admin_products_list()
A
44 12 44
should_integrate_with_query()
A
52 10 22
sync_taxonomies()
S
53 7 23
maybe_set_search_fields()
S
55 7 17
add_variations_skus_meta()
S
52 6 27
maybe_display_notice_about_product_ordering()
S
54 6 19
maybe_disable_decaying()
S
59 6 13
get_supported_post_types()
S
55 5 20
admin_product_list_request_query()
S
58 5 15
allow_meta_keys()
S
42 1 62
add_product_attributes_to_weighting()
S
56 3 19
add_product_default_post_type_weights()
S
58 3 17
translate_args()
S
58 3 17
maybe_update_tax_query()
S
59 3 15
maybe_update_meta_query()
S
61 3 12
get_orderby_meta_mapping()
S
56 2 19
remove_author()
S
67 3 8
action_sync_on_woocommerce_sort_single()
S
64 3 10
add_product_attributes()
S
64 3 10
get_supported_taxonomies()
S
58 1 18
setup()
S
55 1 17
maybe_update_post_type()
S
70 2 6
maybe_handle_top_rated()
S
66 2 8
suggest_wc_add_post_type()
S
70 2 6
add_taxonomy_attributes()
S
68 2 7
__construct()
S
81 1 3
add_weight_settings_search()
S
70 1 6